projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9715fea
)
; Load xref when needed (not all functions are autoloaded)
author
Mattias Engdegård
<mattiase@acm.org>
Sat, 21 Aug 2021 18:16:41 +0000
(20:16 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Sat, 21 Aug 2021 18:27:28 +0000
(20:27 +0200)
lisp/progmodes/prog-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/prog-mode.el
b/lisp/progmodes/prog-mode.el
index 3babbdc6b42166ae77b2f3842d99db01e9c46a13..f75a3039d3e9bfa8046e2c62bcdb849778d28692 100644
(file)
--- a/
lisp/progmodes/prog-mode.el
+++ b/
lisp/progmodes/prog-mode.el
@@
-44,6
+44,7
@@
prettify-symbols-mode))
(defun prog-context-menu (menu)
+ (require 'xref)
(define-key-after menu [prog-separator] menu-bar-separator
'mark-whole-buffer)
(define-key-after menu [xref-find-def]